package com.gk.panda.apis.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName: ElecRailConfig
 * @Description: 电子围栏配置文件
 * @author: wangchao
 * @date: 2022/11/14 10:16
 * @version: 1.0
 **/
@Data
@Component
public class ElecRailConfig {

    /**
     * 密钥
     */
    @Value("${elecRail.privateKey}")
    private String privateKey;

    /**
     * 请求地址
     */
    @Value("${elecRail.requestUrl}")
    private String requestUrl;

    @Value("${elecRail.X-APP-ID}")
    private String XAPPID;

    @Value("${elecRail.X-APP-KEY}")
    private String XAPPKEY;

    @Value("${elecRail.X-CTG-VERSION}")
    private String XCTGVERSION;

    @Value("${elecRail.tenantName}")
    private String tenantName;
}
